.PHONY:all
all:tcpserver tcpclient

tcpserver:tcpservermain.cc
	g++ -o $@ $^  -std=c++14 -lpthread -ljsoncpp

tcpclient:tcpclientmian.cc
	g++ -o $@ $^  -std=c++14 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -f tcpserver tcpclient